package org.easyspring.util;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

/**
 * Created by Hy on 2021/4/16
 */
public class RelationData implements Serializable {
    /**
     * 数据类型 1:user 2:圈子 3:region 4:话题 5:目的地
     */
    private Integer targetType;
    private Integer targetId;
    private String targetName;
    private String icon;

    /**
     * 状态
     */
    private Integer status;

    private Map<String,Object> otherData = new HashMap<>();//NOSONAR

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getTargetType() {
        return targetType;
    }

    public void setTargetType(Integer targetType) {
        this.targetType = targetType;
    }

    public Integer getTargetId() {
        return targetId;
    }

    public void setTargetId(Integer targetId) {
        this.targetId = targetId;
    }

    public String getTargetName() {
        return targetName;
    }

    public void setTargetName(String targetName) {
        this.targetName = targetName;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public Map<String, Object> getOtherData() {
        return otherData;
    }

    public void setOtherData(Map<String, Object> otherData) {
        this.otherData = otherData;
    }
}
